﻿CREATE TABLE [dbo].[Bairro] (
    [Id]        INT          IDENTITY (1, 1) NOT NULL,
    [Descricao] VARCHAR (40) NOT NULL,
    [IdCidade]  INT          NOT NULL,
    PRIMARY KEY CLUSTERED ([Id] ASC) WITH (ALLOW_PAGE_LOCKS = ON, ALLOW_ROW_LOCKS = ON, PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF, STATISTICS_NORECOMPUTE = OFF),
    FOREIGN KEY ([IdCidade]) REFERENCES [dbo].[Cidade] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION
);



